btrfs: warn about RAID5/6 being experimental at mount time
authorAdam Borowski <kilobyte@angband.pl>
Tue, 28 Mar 2017 14:55:05 +0000 (16:55 +0200)
committerRaspbian forward porter <root@raspbian.org>
Sun, 30 Oct 2022 17:31:56 +0000 (17:31 +0000)
commitfd30d951356f96e483c13afd99cde70723d7c8d4
tree532544a6c13981227de62cdb7eadaf79c763d0ec
parent683bbdeeba3aa85d2a6eaf177e70c1b3569e7ab2
btrfs: warn about RAID5/6 being experimental at mount time

Bug-Debian: https://bugs.debian.org/863290
Origin: https://bugs.debian.org/863290#5

Too many people come complaining about losing their data -- and indeed,
there's no warning outside a wiki and the mailing list tribal knowledge.
Message severity chosen for consistency with XFS -- "alert" makes dmesg
produce nice red background which should get the point across.

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
[bwh: Also add_taint() so this is flagged in bug reports]

Gbp-Pq: Topic debian
Gbp-Pq: Name btrfs-warn-about-raid5-6-being-experimental-at-mount.patch
fs/btrfs/disk-io.c